package com.yutel.amote.service;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.TextView;

import com.yutel.amote.R;
import com.yutel.amote.ServerCfgActivity;

public class MsgReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		System.out.println("have recevie message");  
		ServerCfgActivity b = (ServerCfgActivity)context;  
		TextView tv = (TextView) b.findViewById(R.id.serverMsg);
		tv.setText("move坐标："+intent.getStringExtra("msg"));
	}

}
